CSS named colour

Light Coral

#f08080

A CSS named colour: lightcoral is valid anywhere a colour is expected.

RGB
rgb(240 128 128)
HSL
0°, 79%, 72%
OKLCh
72.5% 0.138 21.0

Open in the picker

Light Coral in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#f08080
RGBrgb(240 128 128)
RGB legacyrgb(240, 128, 128)
RGB percentrgb(94.12% 50.2% 50.2%)
HSLhsl(0 78.9% 72.2%)
HSL legacyhsl(0, 78.9%, 72.2%)
HSV / HSBhsv(0, 46.7%, 94.1%)
HWBhwb(0 50.2% 5.9%)
Nearest namelightcoral
CMYKcmyk(0%, 46.7%, 46.7%, 5.9%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(72.464% 0.13774 21.029)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(72.464% 0.12857 0.04943)
CIE LChlch(66.65% 48.387 25.08)
CIE Lablab(66.65% 43.825 20.511)
Display P3color(display-p3 0.8834 0.5247 0.5138)
Rec. 2020color(rec2020 0.7918 0.5015 0.4643)
srgb-linearcolor(srgb-linear 0.8714 0.2159 0.2159)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.4755 0.3552 0.2478)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.941, 0.502, 0.502)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.871, 0.216, 0.216)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.941, 0.502, 0.502, 1.0)
GLSL vec4 — linearvec4(0.871, 0.216, 0.216, 1.0)
GLSL ivec3ivec3(240, 128, 128)
HLSL float3 — sRGBfloat3(0.941, 0.502, 0.502)
HLSL float3 — linearfloat3(0.871, 0.216, 0.216)
HLSL float4 — sRGBfloat4(0.941, 0.502, 0.502, 1.0)
HLSL half4 — sRGBhalf4(0.941, 0.502, 0.502, 1.0)
WGSL vec3f — sRGBvec3f(0.941, 0.502, 0.502)
WGSL vec4f — sRGBvec4f(0.941, 0.502, 0.502, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.871, 0.216, 0.216)

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

Unity Colornew Color(0.941f, 0.502f, 0.502f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(240, 128, 128, 255)
Unreal FLinearColorFLinearColor(0.8714f, 0.2159f, 0.2159f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(240, 128, 128, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.941, 0.502, 0.502, 1)
Flutter ColorColor(0xFFF08080)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(240, 128, 128)
SwiftUI ColorColor(red: 0.941, green: 0.502, blue: 0.502)
UIKit UIColorUIColor(red: 0.941, green: 0.502, blue: 0.502, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xF08080
0x hex (ARGB)0xFFF08080
Array 0–1[0.941, 0.502, 0.502]
Array 0–255[240, 128, 128]
Decimal integer15761536

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
Light Coral on white2.59:1FailLc 50Large headings only
Light Coral on black8.10:1AAALc 52Large headings only

Light Coral text on a white background

Light Coral text on a black background

White text on Light Coral

Black text on Light Coral

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#ffefee
  • 100#ffe1df
  • 200#ffc9c6
  • 300#ffa5a4
  • 400#f18585
  • 500#d26566
  • 600#b24c4f
  • 700#95373b
  • 800#7b262b
  • 900#65181e
  • 950#41020a

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#f59695
  • Tint 2#f9aba9
  • Tint 3#fcc0be
  • Tint 4#fed5d4
  • Tint 5#ffeae9
  • Shade 1#bc6363
  • Shade 2#8b4848
  • Shade 3#5d2e2e
  • Shade 4#321616
  • Shade 5#0d0303

Colours that work with Light Coral

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #00bfc9
  • #73bb67
  • #74a5fc
  • #e680b1
  • #e98a4f

Closest CSS names

  • lightcoralexact match
  • salmonΔEok 0.025
  • darksalmonΔEok 0.055
  • coralΔEok 0.060
  • palevioletredΔEok 0.068
  • tomatoΔEok 0.072