#CF2F39#CF2F39

#CF2F39 is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.2% C 0.195 H 23.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CF2F39
RGBrgb(207, 47, 57)
HSLhsl(356, 63%, 50%)
HSVhsv(356, 77%, 81%)
CMYKcmyk(0%, 77.3%, 72.5%, 18.8%)
CIE-LABlab(46.44, 61.51, 34.03)
CIE-LCHlch(46.44, 70.30, 28.95°)
OKLaboklab(56.22% 0.1794 0.0773)
OKLCHoklch(56.22% 0.195 23.3)
XYZxyz(27.4904, 15.5981, 5.4334)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F39 #2FCFC5
analogous
#CF2F89 #CF2F39 #CF752F
triadic
#CF2F39 #39CF2F #2F39CF
tetradic
#CF2F39 #89CF2F #2FCFC5 #752FCF
square
#CF2F39 #89CF2F #2FCFC5 #752FCF
split-complementary
#CF2F39 #2FCF75 #2F89CF
monochromatic
#6B181E #9D242B #CF2F39 #DB6068 #E69297

Accessibility & contrast

On white

5.10
#CF2F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#CF2F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2F39
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F39#FFFFFF#000000##FFFFFF
##CF2F391.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605838
Deuteranopia (green-blind)
#887A33
Tritanopia (blue-blind)
#E40035
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf2f39;
/* rgb */ color: rgb(207, 47, 57);
/* oklch */ color: oklch(56.2% 0.195 23.3);
Tailwind
colors: {
  custom: {
    50: '#e7766f',
    500: '#cf2f39',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f39;
$custom-light: #e7766f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f39",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 57
  },
  "hsl": {
    "h": 356.25,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56216,
    "c": 0.19537,
    "h": 23.3
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#CF2F39
secondary
#89D1CD
accent
#E6DC42
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180907
muted
#867B7A

Preview Lab

Preview with #CF2F39

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

Preview Lab → · Contrast checker → · Palette generator →

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