#CF2F38#CF2F38

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

Color values

HEX#CF2F38
RGBrgb(207, 47, 56)
HSLhsl(357, 63%, 50%)
HSVhsv(357, 77%, 81%)
CMYKcmyk(0%, 77.3%, 72.9%, 18.8%)
CIE-LABlab(46.43, 61.47, 34.60)
CIE-LCHlch(46.43, 70.54, 29.37°)
OKLaboklab(56.2% 0.1791 0.0783)
OKLCHoklch(56.2% 0.195 23.6)
XYZxyz(27.4657, 15.5883, 5.3033)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F38 #2FCFC6
analogous
#CF2F88 #CF2F38 #CF762F
triadic
#CF2F38 #38CF2F #2F38CF
tetradic
#CF2F38 #88CF2F #2FCFC6 #762FCF
square
#CF2F38 #88CF2F #2FCFC6 #762FCF
split-complementary
#CF2F38 #2FCF76 #2F88CF
monochromatic
#6B181D #9D242B #CF2F38 #DB6067 #E69297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF2F38#FFFFFF#000000##FFFFFF
##CF2F381.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)
#605837
Deuteranopia (green-blind)
#887A32
Tritanopia (blue-blind)
#E40034
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf2f38;
/* rgb */ color: rgb(207, 47, 56);
/* oklch */ color: oklch(56.2% 0.195 23.6);
Tailwind
colors: {
  custom: {
    50: '#e7766f',
    500: '#cf2f38',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f38;
$custom-light: #e7766f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f38",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 356.625,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56201,
    "c": 0.19546,
    "h": 23.6
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF2F38

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

Preview Lab → · Contrast checker → · Palette generator →

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