#CF5158#CF5158

#CF5158 is a mid, vivid red. Relative luminance 0.199; OKLCH L 60.3% C 0.160 H 20.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF5158
RGBrgb(207, 81, 88)
HSLhsl(357, 57%, 56%)
HSVhsv(357, 61%, 81%)
CMYKcmyk(0%, 60.9%, 57.5%, 18.8%)
CIE-LABlab(51.68, 50.37, 22.25)
CIE-LCHlch(51.68, 55.07, 23.83°)
OKLaboklab(60.29% 0.1501 0.0546)
OKLCHoklch(60.29% 0.16 20)
XYZxyz(30.4387, 19.8587, 11.4609)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5158 #51CFC8
analogous
#CF5197 #CF5158 #CF8951
triadic
#CF5158 #58CF51 #5158CF
tetradic
#CF5158 #97CF51 #51CFC8 #8951CF
square
#CF5158 #97CF51 #51CFC8 #8951CF
split-complementary
#CF5158 #51CF89 #5197CF
monochromatic
#822429 #B23138 #CF5158 #DC8186 #E9B1B4

Accessibility & contrast

On white

4.22
#CF5158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF5158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5158
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5158#FFFFFF#000000##000000
##CF51581.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#706B57
Deuteranopia (green-blind)
#908555
Tritanopia (blue-blind)
#E23A54
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf5158;
/* rgb */ color: rgb(207, 81, 88);
/* oklch */ color: oklch(60.3% 0.160 20.0);
Tailwind
colors: {
  custom: {
    50: '#e48787',
    500: '#cf5158',
    950: '#000000',
  },
}
SCSS
$custom: #cf5158;
$custom-light: #e48787;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5158",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 356.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60287,
    "c": 0.1597,
    "h": 20
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#CF5158
secondary
#A4D8D5
accent
#E0D848
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#170C0B
muted
#857D7C

Preview Lab

Preview with #CF5158

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CF5158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva