CSS named colour
Coral
#ff7f50
A CSS named colour: coral is valid anywhere a colour is expected.
- RGB
- rgb(255 127 80)
- HSL
- 16°, 100%, 66%
- OKLCh
- 73.5% 0.168 40.2
Coral in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #ff7f50 | |
|---|---|---|
| RGB | rgb(255 127 80) | |
| RGB legacy | rgb(255, 127, 80) | |
| RGB percent | rgb(100% 49.8% 31.37%) | |
| HSL | hsl(16.1 100% 65.7%) | |
| HSL legacy | hsl(16.1, 100%, 65.7%) | |
| HSV / HSB | hsv(16.1, 68.6%, 100%) | |
| HWB | hwb(16.1 31.4% 0%) | |
| Nearest name | coral | |
| CMYK | cmyk(0%, 50.2%, 68.6%, 0%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(73.511% 0.16799 40.247)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(73.511% 0.12823 0.10854) | |
| CIE LCh | lch(67.984% 67.878 45.728) | |
| CIE Lab | lab(67.984% 47.383 48.603) | |
| Display P3 | color(display-p3 0.9358 0.5255 0.3583) | |
| Rec. 2020 | color(rec2020 0.8374 0.5056 0.3027) | |
| srgb-linear | color(srgb-linear 1 0.2122 0.0802)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.5028 0.3702 0.1209) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(1.0, 0.498, 0.314)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(1.0, 0.212, 0.08)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(1.0, 0.498, 0.314, 1.0) | |
| GLSL vec4 — linear | vec4(1.0, 0.212, 0.08, 1.0) | |
| GLSL ivec3 | ivec3(255, 127, 80) | |
| HLSL float3 — sRGB | float3(1.0, 0.498, 0.314) | |
| HLSL float3 — linear | float3(1.0, 0.212, 0.08) | |
| HLSL float4 — sRGB | float4(1.0, 0.498, 0.314, 1.0) | |
| HLSL half4 — sRGB | half4(1.0, 0.498, 0.314, 1.0) | |
| WGSL vec3f — sRGB | vec3f(1.0, 0.498, 0.314) | |
| WGSL vec4f — sRGB | vec4f(1.0, 0.498, 0.314, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(1.0, 0.212, 0.08) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(1.0f, 0.498f, 0.314f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(255, 127, 80, 255) | |
| Unreal FLinearColor | FLinearColor(1.0f, 0.2122f, 0.0802f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(255, 127, 80, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(1, 0.498, 0.314, 1) | |
| Flutter Color | Color(0xFFFF7F50)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(255, 127, 80) | |
| SwiftUI Color | Color(red: 1, green: 0.498, blue: 0.314) | |
| UIKit UIColor | UIColor(red: 1, green: 0.498, blue: 0.314, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xFF7F50 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFFF7F50 | |
| Array 0–1 | [1, 0.498, 0.314] | |
| Array 0–255 | [255, 127, 80] | |
| Decimal integer | 16744272 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Coral on white | 2.50:1 | Fail | Lc 48 | Large headings only |
| Coral on black | 8.40:1 | AAA | Lc 53 | Large headings only |
Coral text on a white background
Coral text on a black background
White text on Coral
Black text on Coral
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#fff0e6
- 100#ffe3d4
- 200#ffcbb4
- 300#ffa986
- 400#fc8154
- 500#dc602f
- 600#bc4611
- 700#9e3000
- 800#831e00
- 900#6c0e00
- 950#440000
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#ff9670
- Tint 2#ffac8d
- Tint 3#ffc1aa
- Tint 4#ffd6c6
- Tint 5#ffebe3
- Shade 1#c8623d
- Shade 2#94472b
- Shade 3#632d1a
- Shade 4#36160a
- Shade 5#0f0301
Colours that work with Coral
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #00beec
- #00c884
- #979bff
- #ff7690
- #eb9300
Closest CSS names
coralexact matchsalmonΔEok 0.038tomatoΔEok 0.054darkorangeΔEok 0.058lightcoralΔEok 0.060darksalmonΔEok 0.062