#CB4062#CB4062

#CB4062 is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.9% C 0.176 H 10.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CB4062
RGBrgb(203, 64, 98)
HSLhsl(345, 57%, 52%)
HSVhsv(345, 68%, 80%)
CMYKcmyk(0%, 68.5%, 51.7%, 20.4%)
CIE-LABlab(48.57, 56.99, 11.92)
CIE-LCHlch(48.57, 58.23, 11.81°)
OKLaboklab(57.91% 0.1729 0.0304)
OKLCHoklch(57.91% 0.176 10)
XYZxyz(28.6691, 17.2489, 13.3726)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4062 #40CBA9
analogous
#CB40A7 #CB4062 #CB6440
triadic
#CB4062 #62CB40 #4062CB
tetradic
#CB4062 #A7CB40 #40CBA9 #6440CB
square
#CB4062 #A7CB40 #40CBA9 #6440CB
split-complementary
#CB4062 #40CB64 #40A7CB
monochromatic
#721F33 #A22C49 #CB4062 #D8708A #E5A0B1

Accessibility & contrast

On white

4.72
#CB4062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CB4062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4062
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4062#FFFFFF#000000##FFFFFF
##CB40621.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616163
Deuteranopia (green-blind)
#857E5F
Tritanopia (blue-blind)
#DD254E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb4062;
/* rgb */ color: rgb(203, 64, 98);
/* oklch */ color: oklch(57.9% 0.176 10.0);
Tailwind
colors: {
  custom: {
    50: '#e17e8e',
    500: '#cb4062',
    950: '#000000',
  },
}
SCSS
$custom: #cb4062;
$custom-light: #e17e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4062",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 345.324,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.17558,
    "h": 10
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#CB4062
secondary
#95D2C3
accent
#E0BB47
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160B0C
muted
#847C7D

Preview Lab

Preview with #CB4062

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

Preview Lab → · Contrast checker → · Palette generator →

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