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

Open in the picker

Coral in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#ff7f50
RGBrgb(255 127 80)
RGB legacyrgb(255, 127, 80)
RGB percentrgb(100% 49.8% 31.37%)
HSLhsl(16.1 100% 65.7%)
HSL legacyhsl(16.1, 100%, 65.7%)
HSV / HSBhsv(16.1, 68.6%, 100%)
HWBhwb(16.1 31.4% 0%)
Nearest namecoral
CMYKcmyk(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.

OKLChoklch(73.511% 0.16799 40.247)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(73.511% 0.12823 0.10854)
CIE LChlch(67.984% 67.878 45.728)
CIE Lablab(67.984% 47.383 48.603)
Display P3color(display-p3 0.9358 0.5255 0.3583)
Rec. 2020color(rec2020 0.8374 0.5056 0.3027)
srgb-linearcolor(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 — sRGBvec3(1.0, 0.498, 0.314)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(1.0, 0.212, 0.08)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(1.0, 0.498, 0.314, 1.0)
GLSL vec4 — linearvec4(1.0, 0.212, 0.08, 1.0)
GLSL ivec3ivec3(255, 127, 80)
HLSL float3 — sRGBfloat3(1.0, 0.498, 0.314)
HLSL float3 — linearfloat3(1.0, 0.212, 0.08)
HLSL float4 — sRGBfloat4(1.0, 0.498, 0.314, 1.0)
HLSL half4 — sRGBhalf4(1.0, 0.498, 0.314, 1.0)
WGSL vec3f — sRGBvec3f(1.0, 0.498, 0.314)
WGSL vec4f — sRGBvec4f(1.0, 0.498, 0.314, 1.0)
WGSL vec3<f32> — linearvec3<f32>(1.0, 0.212, 0.08)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew 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 Color32new Color32(255, 127, 80, 255)
Unreal FLinearColorFLinearColor(1.0f, 0.2122f, 0.0802f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(255, 127, 80, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(1, 0.498, 0.314, 1)
Flutter ColorColor(0xFFFF7F50)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(255, 127, 80)
SwiftUI ColorColor(red: 1, green: 0.498, blue: 0.314)
UIKit UIColorUIColor(red: 1, green: 0.498, blue: 0.314, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xFF7F50
0x hex (ARGB)0xFFFF7F50
Array 0–1[1, 0.498, 0.314]
Array 0–255[255, 127, 80]
Decimal integer16744272

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.

PairingWCAG 2 ratioLevelAPCASuitable for
Coral on white2.50:1FailLc 48Large headings only
Coral on black8.40:1AAALc 53Large 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 match
  • salmonΔEok 0.038
  • tomatoΔEok 0.054
  • darkorangeΔEok 0.058
  • lightcoralΔEok 0.060
  • darksalmonΔEok 0.062