#CF4238#CF4238

#CF4238 is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.0% C 0.179 H 28.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CF4238
RGBrgb(207, 66, 56)
HSLhsl(4, 61%, 52%)
HSVhsv(4, 73%, 81%)
CMYKcmyk(0%, 68.1%, 72.9%, 18.8%)
CIE-LABlab(48.82, 54.85, 37.33)
CIE-LCHlch(48.82, 66.34, 34.24°)
OKLaboklab(57.99% 0.1581 0.0843)
OKLCHoklch(57.99% 0.179 28.1)
XYZxyz(28.3973, 17.4515, 5.6138)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4238 #38C5CF
analogous
#CF3879 #CF4238 #CF8E38
triadic
#CF4238 #38CF42 #4238CF
tetradic
#CF4238 #79CF38 #38C5CF #8E38CF
square
#CF4238 #79CF38 #38C5CF #8E38CF
split-complementary
#CF4238 #38CF8E #3879CF
monochromatic
#71211B #A32F27 #CF4238 #DB7169 #E7A09B

Accessibility & contrast

On white

4.68
#CF4238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CF4238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF4238
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4238#FFFFFF#000000##FFFFFF
##CF42381.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6036
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#E41541
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf4238;
/* rgb */ color: rgb(207, 66, 56);
/* oklch */ color: oklch(58.0% 0.179 28.1);
Tailwind
colors: {
  custom: {
    50: '#e67e6f',
    500: '#cf4238',
    950: '#000000',
  },
}
SCSS
$custom: #cf4238;
$custom-light: #e67e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4238",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 3.974,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.1792,
    "h": 28.1
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#CF4238
secondary
#90CED3
accent
#DAE444
background
#FFF8F6
surface
#FFEFEC
border
#D7CAC7
text
#170B07
muted
#857C7A

Preview Lab

Preview with #CF4238

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

Preview Lab → · Contrast checker → · Palette generator →

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