#CF2F30#CF2F30

#CF2F30 is a mid, vivid red. Relative luminance 0.155; OKLCH L 56.1% C 0.196 H 26.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF2F30
RGBrgb(207, 47, 48)
HSLhsl(360, 63%, 50%)
HSVhsv(360, 77%, 81%)
CMYKcmyk(0%, 77.3%, 76.8%, 18.8%)
CIE-LABlab(46.33, 61.16, 39.08)
CIE-LCHlch(46.33, 72.58, 32.58°)
OKLaboklab(56.1% 0.1764 0.0861)
OKLCHoklch(56.1% 0.196 26)
XYZxyz(27.2854, 15.5162, 4.3540)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F30 #2FCFCE
analogous
#CF2F80 #CF2F30 #CF7E2F
triadic
#CF2F30 #30CF2F #2F30CF
tetradic
#CF2F30 #80CF2F #2FCFCE #7E2FCF
square
#CF2F30 #80CF2F #2FCFCE #7E2FCF
split-complementary
#CF2F30 #2FCF7E #2F80CF
monochromatic
#6B1819 #9D2424 #CF2F30 #DB6061 #E69293

Accessibility & contrast

On white

5.12
#CF2F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CF2F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2F30
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F30#FFFFFF#000000##FFFFFF
##CF2F301.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582E
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#E40032
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf2f30;
/* rgb */ color: rgb(207, 47, 48);
/* oklch */ color: oklch(56.1% 0.196 26.0);
Tailwind
colors: {
  custom: {
    50: '#e77669',
    500: '#cf2f30',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f30;
$custom-light: #e77669;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f30",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 48
  },
  "hsl": {
    "h": 359.625,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.19629,
    "h": 26
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#CF2F30
secondary
#89D1D1
accent
#E6E542
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CF2F30

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

Preview Lab → · Contrast checker → · Palette generator →

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