#CB427B#CB427B

#CB427B is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.179 H 358.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CB427B
RGBrgb(203, 66, 123)
HSLhsl(335, 57%, 53%)
HSVhsv(335, 67%, 80%)
CMYKcmyk(0%, 67.5%, 39.4%, 20.4%)
CIE-LABlab(49.53, 58.56, -1.88)
CIE-LCHlch(49.53, 58.59, 358.16°)
OKLaboklab(58.84% 0.1793 -0.0042)
OKLCHoklch(58.84% 0.179 358.7)
XYZxyz(30.1540, 18.0266, 20.6266)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB427B #42CB92
analogous
#CB42C0 #CB427B #CB4D42
triadic
#CB427B #7BCB42 #427BCB
tetradic
#CB427B #C0CB42 #42CB92 #4D42CB
square
#CB427B #C0CB42 #42CB92 #4D42CB
split-complementary
#CB427B #42CB4D #42C0CB
monochromatic
#732042 #A32D5E #CB427B #D8729D #E5A2BE

Accessibility & contrast

On white

4.56
#CB427B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CB427B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB427B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB427B#FFFFFF#000000##000000
##CB427B1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#DB3359
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb427b;
/* rgb */ color: rgb(203, 66, 123);
/* oklch */ color: oklch(58.8% 0.179 358.7);
Tailwind
colors: {
  custom: {
    50: '#e07fa1',
    500: '#cb427b',
    950: '#000000',
  },
}
SCSS
$custom: #cb427b;
$custom-light: #e07fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb427b",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 335.036,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.17939,
    "h": 358.7
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#CB427B
secondary
#97D2B9
accent
#E0A148
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB427B

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

Preview Lab → · Contrast checker → · Palette generator →

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